package com.yfp.operation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yfp.operation.domain.MachineDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;
import java.util.List;


@Mapper
public interface MachineMapper extends BaseMapper<MachineDO> {

    MachineDO getMachine(String machineId);


    Integer getMachineType(String machineId);

    Timestamp getShijian(String s);

    List<MachineDO> getDisconnection();

    List<String> machineNames(@Param("machineIds") List<String> machineIds);

    List<MachineDO> findAll();

    List<MachineDO> listMachine(MachineDO machineDO);

    List<MachineDO> listMachineByPositionIds(@Param("positionIds") List<String> positionIds);
}
